package com.ruoyi.web.controller.park;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.param.SysParam;
import com.ruoyi.service.SysService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/park/sys")
public class SysController {

    @Autowired
    private SysService sysService;

    @GetMapping
    public AjaxResult select(SysParam sysParam){
       return AjaxResult.success("查询成功！",sysService.selectList(sysParam));
    }
}
